package com.whut.monitor.service;

import com.whut.monitor.vo.PageFilter;
import com.whut.monitor.vo.Tree;
import com.whut.monitor.model.SensorEntity;
import com.whut.monitor.vo.SensorVo;

import java.util.List;

/**
 * @author Sandeepin
 * 传感器服务层接口
 */
public interface ISensorService {

	List<SensorVo> dataGrid(SensorVo sensorVo, PageFilter pageFilter);

	Long count(SensorVo sensorVo, PageFilter pageFilter);

	void add(SensorVo sensorVo);

	void delete(Integer id);

	void edit(SensorVo sensorVo);

	List<SensorEntity> getAllSensor();

	List<Tree> tree();


}
